package com.tanhua.domain.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Document(collection = "soul")
public class Soul implements Serializable {

    private ObjectId _id;

    private String question_Id;   //问卷编号

    private String name;     //问卷名称

    private String cover;    //封面

    private String level;    //级别

    private Integer star;//星别（例如：2颗星，3颗星，5颗星）

    private List<SoulTest> optionList;//试题

    private Integer isLock = 1;  //是否锁住

}
